package com.macw.ww_system.entity;

import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 广告位表
 * </p>
 *
 * @author Macw
 * @since 2020-01-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="CmsAdMaterial对象", description="广告位表")
public class CmsAdMaterial implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "广告位ID")
    private String adId;

    @ApiModelProperty(value = "广告素材ID")
    private String materialId;

    @ApiModelProperty(value = "链接")
    private String link;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "点击数")
    private Integer hit;

    @ApiModelProperty(value = "开始时间")
    private LocalDateTime startTime;

    @ApiModelProperty(value = "结束时间")
    private LocalDateTime endTime;

    @ApiModelProperty(value = "状态")
    private Integer status;

    @ApiModelProperty(value = "使用记录表ID")
    private Integer useHisId;


}
